package icu.yougan.youganblogbackend.model;

import lombok.Data;

import java.util.Date;

@Data
public class User {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private String email;
    private String avatar;
    private Date createTime;
    private Date updateTime;
    private Integer status; // 0: inactive, 1: active
    private Integer roleId; // 1: admin, 2: user
} 